package com.eight.cloud.auth.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * 配置项
 *
 * @ClassName: AuthConfig
 * @Author: TXC
 * @Date: 2025-01-25 12:36
 **/
@Data
@Component
@ConfigurationProperties(prefix = "auth.config.login")
@RefreshScope
public class AuthConfig {
    /**
     * 最多允许多少个用户登录
     */
    private Integer members = 5;
}
